package com.cyys.service;

import com.cyys.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author Long
 * @since 2022-06-13
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    int updateNumberById(@Param("number") Integer number, @Param("id") Integer id);


    int updateNumberList(Integer user_id);

    ShoppingCart findList(Integer id);

    List<ShoppingCart> selectUserId(Integer user_id);

}
